log/slog.handleState.buf (field)
49 uses
log/slog (current package)
handler.go#L247: pos := state.buf.Len()
handler.go#L250: state.buf.SetLen(pos)
handler.go#L273: state.buf.WriteByte('{')
handler.go#L317: state.buf.WriteByte('\n')
handler.go#L321: _, err := h.w.Write(*state.buf)
handler.go#L328: s.buf.WriteString(s.sep)
handler.go#L329: s.buf.Write(pfa)
handler.go#L345: pos := s.buf.Len()
handler.go#L356: s.buf.SetLen(pos)
handler.go#L363: s.buf.WriteByte('}')
handler.go#L366: s.buf.WriteByte('}')
handler.go#L383: buf *buffer.Buffer
handler.go#L398: buf: buf,
handler.go#L412: s.buf.Free()
handler.go#L435: s.buf.WriteByte('{')
handler.go#L450: s.buf.WriteByte('}')
handler.go#L512: pos := s.buf.Len()
handler.go#L518: s.buf.SetLen(pos)
handler.go#L537: s.buf.WriteString(s.sep)
handler.go#L544: s.buf.WriteByte(':')
handler.go#L546: s.buf.WriteByte('=')
handler.go#L553: buf := *s.buf
handler.go#L566: *s.buf = buf
handler.go#L571: s.buf.WriteByte('"')
handler.go#L572: *s.buf = appendEscapedJSONString(*s.buf, str)
handler.go#L573: s.buf.WriteByte('"')
handler.go#L577: *s.buf = strconv.AppendQuote(*s.buf, str)
handler.go#L579: s.buf.WriteString(str)
handler.go#L617: *s.buf = appendRFC3339Millis(*s.buf, t)
json_handler.go#L101: s.buf.WriteByte('"')
json_handler.go#L102: *s.buf = t.AppendFormat(*s.buf, time.RFC3339Nano)
json_handler.go#L103: s.buf.WriteByte('"')
json_handler.go#L111: *s.buf = strconv.AppendInt(*s.buf, v.Int64(), 10)
json_handler.go#L113: *s.buf = strconv.AppendUint(*s.buf, v.Uint64(), 10)
json_handler.go#L118: if err := appendJSONMarshal(s.buf, v.Float64()); err != nil {
json_handler.go#L122: *s.buf = strconv.AppendBool(*s.buf, v.Bool())
json_handler.go#L125: *s.buf = strconv.AppendInt(*s.buf, int64(v.Duration()), 10)
json_handler.go#L134: return appendJSONMarshal(s.buf, a)
text_handler.go#L123: s.buf.WriteString(strconv.Quote(string(bs)))
text_handler.go#L128: *s.buf = v.append(*s.buf)